/* Tampa Trivia Styles */
.trivia-area {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #28a745;
    transition: width 0.3s ease;
    width: 0;
}

/* Three Kings Game Styles */
.scene-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.scene-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.scene-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.scene-content {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

/* Shared Styles */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.option-button {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.option-button:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.game-message {
    text-align: center;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
}

.game-message.success {
    background: #d4edda;
    color: #155724;
}

.game-message.warning {
    background: #fff3cd;
    color: #856404;
}

/* Story Mode Specific Styles */
.story-mode {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
}

.story-container {
    max-width: 1000px;
    margin: 0 auto;
}

.scene-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.scene-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-bottom: 4px solid #f8f9fa;
    transition: transform 0.5s ease;
}

.scene-image:hover {
    transform: scale(1.02);
}

.scene-content-wrapper {
    padding: 2rem;
}

.scene-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Crimson Text', serif;
}

.scene-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 2rem;
    text-align: center;
}

.story-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.story-option {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1.1rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.story-option:hover {
    background: #f8f9fa;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.story-consequence {
    font-style: italic;
    color: #7f8c8d;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.story-inventory {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.inventory-item {
    background: #fff;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #2c3e50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-mode {
        padding: 1rem;
    }
    
    .scene-container {
        margin: 1rem;
    }
    
    .scene-image {
        height: 250px;
    }
    
    .scene-title {
        font-size: 1.5rem;
    }
    
    .scene-content {
        font-size: 1rem;
    }
    
    .story-option {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    .story-consequence {
        font-size: 0.8rem;
    }
}